package com.chenjt.activiti.entity;

import java.io.Serializable;
import java.util.Map;

/**
 * 注释：启动流程实例参数
 *
 * @author chenjt
 * @date 2022/5/14 17:34
 */
public class StartProcessDefinitionEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 流程定义key
     */
    private String processDefinitionKey;

    /**
     * 业务标识
     */
    private String businessKey;

    /**
     * 流程变量
     */
    private Map<String,Object> variableMap;

    public String getProcessDefinitionKey() {
        return processDefinitionKey;
    }

    public void setProcessDefinitionKey(String processDefinitionKey) {
        this.processDefinitionKey = processDefinitionKey;
    }

    public String getBusinessKey() {
        return businessKey;
    }

    public void setBusinessKey(String businessKey) {
        this.businessKey = businessKey;
    }

    public Map<String, Object> getVariableMap() {
        return variableMap;
    }

    public void setVariableMap(Map<String, Object> variableMap) {
        this.variableMap = variableMap;
    }

    @Override
    public String toString() {
        return "StartProcessDefinitionEntity{" +
                "processDefinitionKey='" + processDefinitionKey + '\'' +
                ", businessKey='" + businessKey + '\'' +
                ", variableMap=" + variableMap +
                '}';
    }
}
